package com.fowo.api.ptt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fowo.api.ptt.enitty.PrintTemplate;
import com.fowo.api.ptt.enitty.PrintTemplateType;
import com.fowo.api.ptt.model.PrintTemplateSearchParamPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 打印模版 Mapper
 * @author yl_ls
 */
@Mapper
public interface PrintTemplateMapper extends BaseMapper<PrintTemplate> {
    List<PrintTemplate> selectByTypeId(Long id);
    Page<PrintTemplate> selectPageSearch(Page<?> page, @Param("search") PrintTemplateSearchParamPo searchParamPo);
}
